package com.hp.springioc04;

public class TestFactory {

    public static void main(String[] args) {
        try {
            Computer computer = ComputerFactory.createComputer();
            computer.start();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        }
    }
}
